Optimal. Leaf size=51 \[ \frac{1}{2} x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{b x \sqrt{1-c^2 x^2}}{4 c}-\frac{b \sin ^{-1}(c x)}{4 c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0189604, antiderivative size = 51, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 10, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.3, Rules used = {4627, 321, 216} \[ \frac{1}{2} x^2 \left (a+b \sin ^{-1}(c x)\right )+\frac{b x \sqrt{1-c^2 x^2}}{4 c}-\frac{b \sin ^{-1}(c x)}{4 c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4627
Rule 321
Rule 216
Rubi steps
\begin{align*} \int x \left (a+b \sin ^{-1}(c x)\right ) \, dx &=\frac{1}{2} x^2 \left (a+b \sin ^{-1}(c x)\right )-\frac{1}{2} (b c) \int \frac{x^2}{\sqrt{1-c^2 x^2}} \, dx\\ &=\frac{b x \sqrt{1-c^2 x^2}}{4 c}+\frac{1}{2} x^2 \left (a+b \sin ^{-1}(c x)\right )-\frac{b \int \frac{1}{\sqrt{1-c^2 x^2}} \, dx}{4 c}\\ &=\frac{b x \sqrt{1-c^2 x^2}}{4 c}-\frac{b \sin ^{-1}(c x)}{4 c^2}+\frac{1}{2} x^2 \left (a+b \sin ^{-1}(c x)\right )\\ \end{align*}
Mathematica [A] time = 0.0193532, size = 56, normalized size = 1.1 \[ \frac{a x^2}{2}+\frac{b x \sqrt{1-c^2 x^2}}{4 c}-\frac{b \sin ^{-1}(c x)}{4 c^2}+\frac{1}{2} b x^2 \sin ^{-1}(c x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.003, size = 52, normalized size = 1. \begin{align*}{\frac{1}{{c}^{2}} \left ({\frac{{c}^{2}{x}^{2}a}{2}}+b \left ({\frac{{c}^{2}{x}^{2}\arcsin \left ( cx \right ) }{2}}+{\frac{cx}{4}\sqrt{-{c}^{2}{x}^{2}+1}}-{\frac{\arcsin \left ( cx \right ) }{4}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.59805, size = 82, normalized size = 1.61 \begin{align*} \frac{1}{2} \, a x^{2} + \frac{1}{4} \,{\left (2 \, x^{2} \arcsin \left (c x\right ) + c{\left (\frac{\sqrt{-c^{2} x^{2} + 1} x}{c^{2}} - \frac{\arcsin \left (\frac{c^{2} x}{\sqrt{c^{2}}}\right )}{\sqrt{c^{2}} c^{2}}\right )}\right )} b \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.48371, size = 111, normalized size = 2.18 \begin{align*} \frac{2 \, a c^{2} x^{2} + \sqrt{-c^{2} x^{2} + 1} b c x +{\left (2 \, b c^{2} x^{2} - b\right )} \arcsin \left (c x\right )}{4 \, c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.435322, size = 54, normalized size = 1.06 \begin{align*} \begin{cases} \frac{a x^{2}}{2} + \frac{b x^{2} \operatorname{asin}{\left (c x \right )}}{2} + \frac{b x \sqrt{- c^{2} x^{2} + 1}}{4 c} - \frac{b \operatorname{asin}{\left (c x \right )}}{4 c^{2}} & \text{for}\: c \neq 0 \\\frac{a x^{2}}{2} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.31596, size = 86, normalized size = 1.69 \begin{align*} \frac{\sqrt{-c^{2} x^{2} + 1} b x}{4 \, c} + \frac{{\left (c^{2} x^{2} - 1\right )} b \arcsin \left (c x\right )}{2 \, c^{2}} + \frac{{\left (c^{2} x^{2} - 1\right )} a}{2 \, c^{2}} + \frac{b \arcsin \left (c x\right )}{4 \, c^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]